package com.company.cloud.pay.modules.pay.service;

import com.company.cloud.pay.modules.api.request.PayOrderCloseRequest;
import com.company.cloud.pay.modules.api.request.PayOrderQueryRequest;
import com.company.cloud.pay.modules.api.request.PayOrderRequest;
import com.company.cloud.pay.modules.api.response.PayOrderCloseResponse;
import com.company.cloud.pay.modules.api.response.PayOrderQueryResponse;
import com.company.cloud.pay.modules.api.response.PayOrderResponse;

public interface UnifiedPayService {

    /**
     * 统一下单
     */
    public PayOrderResponse payOrderInfo(PayOrderRequest request);

    /**
     * 关闭订单
     */
    public PayOrderCloseResponse payOrderClose(PayOrderCloseRequest request);

    /**
     * 查询订单
     */
    public PayOrderQueryResponse payOrderQuery(PayOrderQueryRequest request);

}
